﻿<UserControl x:Class="Ripple.TestClient.Views.TrustLineListView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <DataGrid Style="{StaticResource ResourceKey=BasicGridStyle}">
        <DataGrid.Columns>
            <DataGridTextColumn Header="Peer Account Id" Binding="{Binding Path=PeerAccountId}" />
            <DataGridTextColumn Header="Balance" Binding="{Binding Path=Balance}" Width="*" ElementStyle="{StaticResource ResourceKey=CurrencyValueStyle}" HeaderStyle="{StaticResource ResourceKey=RightAlignColumnHeaderStyle}" />
            <DataGridTextColumn Header="Currency" Binding="{Binding Path=Currency}" Width="*" />
            <DataGridTextColumn Header="Limit" Binding="{Binding Path=Limit}" Width="*" ElementStyle="{StaticResource ResourceKey=CurrencyValueStyle}" HeaderStyle="{StaticResource ResourceKey=RightAlignColumnHeaderStyle}" />
            <DataGridTextColumn Header="Peer Limit" Binding="{Binding Path=PeerLimit}" Width="*" ElementStyle="{StaticResource ResourceKey=CurrencyValueStyle}"  HeaderStyle="{StaticResource ResourceKey=RightAlignColumnHeaderStyle}" />
            <DataGridTextColumn Header="Quality In" Binding="{Binding Path=QualityIn}" Width="*" ElementStyle="{StaticResource ResourceKey=CurrencyValueStyle}"  HeaderStyle="{StaticResource ResourceKey=RightAlignColumnHeaderStyle}" />
            <DataGridTextColumn Header="Quality Out" Binding="{Binding Path=QualityOut}" Width="*" ElementStyle="{StaticResource ResourceKey=CurrencyValueStyle}"  HeaderStyle="{StaticResource ResourceKey=RightAlignColumnHeaderStyle}" />
        </DataGrid.Columns>
    </DataGrid>
</UserControl>